package designPattern.struction.decoratorpattern;

/**
 * @author 张琪
 * @date 2023/2/3 18:19
 */
public class DecoratorTest {
    public static void main(String[] args) {
        Human person = new Person();
        Decorator decorator = new DecoratorSecond(new DecoratorFirst(new DecoratorZero(person)));
        decorator.wearClothes();
    }
}
